﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site1.Master" EnableEventValidation="false" AutoEventWireup="true" CodeBehind="rizhi.aspx.cs" Inherits="text.rizhi" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
       <link href="kindeditor/themes/default/default.css" rel="stylesheet" />
    <link href="kindeditor/plugins/code/prettify.css" rel="stylesheet" />
    <script src="kindeditor/kindeditor-all-min.js"></script>
    <script src="kindeditor/lang/zh-CN.js"></script>
    <script src="kindeditor/plugins/code/prettify.js"></script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div class="box_right col-lg-9 ">
   	<div class="segment left">
					
 							<i class=" glyphicon glyphicon-book left" ></i>
 							<h3 class="left">
   							发布日志<br>
   							<span>管理这个设备及其传感器</span>
 							</h3>			
				</div>
      		
             <div class="clear"></div>
     
             
<!--发布日志-->
<div id="rizhi_box" class="left" style="padding-left:30px; padding-top:10px;">
	<form method="post" action="/" role="form" autocomplete="on">
<div class="my-group" id="gruop2">
		<span class="left" ><mark>*</mark>日志标题</span>
        <asp:TextBox ID="txttittle" CssClass="form-control put3" runat="server"></asp:TextBox>
&nbsp;</div>
 
 <div class="my-group" id="group2">
		<span class="left" ><mark>*</mark>日志内容</span>
        <asp:TextBox ID="txtcontent" CssClass="form-control put3 put4" runat="server"></asp:TextBox>
&nbsp;</div>
 
<div class="form-actions">
                    <asp:Button ID="btnPublic" CssClass="btn-primary btn" runat="server" Text="确认" OnClick="btnPublic_Click" />
                </div>
 
 
 </form>
   	

</div>





</div> 
        <script>
        KindEditor.ready(function (K) {
            var editor1 = K.create('#ContentPlaceHolder1_txtcontent', {
                cssPath: '/kindeditor/plugins/code/prettify.css',
                uploadJson: '/kindeditor/asp.net/upload_json.ashx',
                fileManagerJson: '/kindeditor/asp.net/file_manager_json.ashx',
                allowFileManager: true,
                afterCreate: function () {
                    var self = this;
                    K.ctrl(document, 13, function () {
                        self.sync();
                        K('form[name=example]')[0].submit();
                    });
                    K.ctrl(self.edit.doc, 13, function () {
                        self.sync();
                        K('form[name=example]')[0].submit();
                    });
                }
            });
            prettyPrint();
        });
        </script>
</asp:Content>
